package defpackage; import com.appsflyer.share.Constants; /* renamed from: skb reason: default package */ public final class skb { public static byte ucU = 0; public static byte ucV = 1; public static void a(coj coj, int i, byte b) { coj.N("xdr", "nvGraphicFramePr"); coj.N("xdr", "cNvPr"); String str = null; if (b == ucU) { str = "图表 " + i; } else if (b == ucV) { str = "图示 " + i; } coj.J("name", str); coj.r("id", i + 1); coj.O("xdr", "cNvPr"); coj.N("xdr", "cNvGraphicFramePr"); coj.O("xdr", "cNvGraphicFramePr"); coj.O("xdr", "nvGraphicFramePr"); } public static void a(coj coj, String str, String str2, String str3, String str4) { coj.N("dgm", "relIds"); coj.M("dgm", "http://schemas.openxmlformats.org/drawingml/2006/diagram"); coj.M("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); coj.h("r", "dm", str); coj.h("r", "lo", str2); coj.h("r", "qs", str3); coj.h("r", "cs", str4); coj.O("dgm", "relIds"); } public static void d(coj coj, String str) { coj.N(Constants.URL_CAMPAIGN, "chart"); coj.M(Constants.URL_CAMPAIGN, "http://schemas.openxmlformats.org/drawingml/2006/chart"); coj.M("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships"); coj.h("r", "id", str); coj.O(Constants.URL_CAMPAIGN, "chart"); } public void a(coj coj, rfq rfq) { if (rfq.eWA() != 0.0f) { coj.r("rot", (int) (rfq.eWA() * 60000.0f)); } if (rfq.baJ() != null) { ejj baJ = rfq.baJ(); if (baJ.aZf()) { coj.r("flipH", 1); } if (baJ.aZg()) { coj.r("flipV", 1); } } if (rfq.tfW.eWM() instanceof rfi) { rfi rfi = (rfi) rfq.tfW.eWM(); coj.N("a", "off"); coj.J("x", Long.toString((long) rfi.eVT())); coj.J("y", Long.toString((long) rfi.eVU())); coj.O("a", "off"); coj.N("a", "ext"); coj.J("cx", Long.toString((long) (rfi.eVW() - rfi.eVT()))); coj.J("cy", Long.toString((long) (rfi.eVV() - rfi.eVU()))); coj.O("a", "ext"); return; } coj.N("a", "off"); coj.r("x", 0); coj.r("y", 0); coj.O("a", "off"); coj.N("a", "ext"); coj.r("cx", 0); coj.r("cy", 0); coj.O("a", "ext"); } }